[PATCH] [libomp] Explicitly include <string> header (NFC)
authorNikita Popov <npopov@redhat.com>
Fri, 20 Jan 2023 09:11:01 +0000 (10:11 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sat, 4 May 2024 05:18:23 +0000 (07:18 +0200)
This is required to build against libstdc++ 13. Debug.h uses
std::stoi() from <string> without explicitly including it.

Gbp-Pq: Name gcc-13-build-fix.patch

openmp/libomptarget/include/Debug.h

index 942f39fe9c1a2338418ea86991b321dca5a9696c..85cccf79d9c7875530d2272fabd31b0405d94f36 100644 (file)
@@ -39,6 +39,7 @@
 
 #include <atomic>
 #include <mutex>
+#include <string>
 
 /// 32-Bit field data attributes controlling information presented to the user.
 enum OpenMPInfoType : uint32_t {